package com.travel.modules.asset.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.travel.modules.asset.entity.Route;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @Entity com.travel.modules.asset.entity.Route
 */
@Mapper
public interface RouteDao extends BaseMapper<Route> {
    List<Route> getHotRoutes();

    List<Route> ftQueryRoutes(String[] keywords);

    List<Route> getAllRoute(Map<String, Object> params);

    Route getOneRoute(@Param("goodsId") String goodsId);
}